Parallel Read Operations Without Memory Contention

نویسندگان

  • Alexander E. Andreev
  • Andrea E. F. Clementi
  • Paolo Penna
  • José D. P. Rolim
چکیده

We address the problem of organizing a set T of shared data into the memory modules of a Distributed Memory Machine (DMM) in order to minimize memory access connicts (i.e. memory contention) during read operations. Previous solutions for this problem can be found as fundamental subprocedures of the PRAM simulation methods on DMM presented during the last years. The eeciency of such solutions relies on the assumption that the set of shared data is relatively small. Indeed, each shared data is replicated in at least two copies; moreover, the number of processors and that of memory modules are polynomial in the number of the shared data. This assumption is reasonable to the aim of PRAM simulations (where the shared data consist only on the shared program variables) but it is not realistic in the case of parallel systems for large public-accessible databases where the number of available resources (such as processors and memory modules) is tipically signiicantly (say exponentially) smaller than the size of the database. As for the latter case, we present a new randomized scheme that given any positive parameter , with high probability, performs any set of r unrelated read operations on the shared data set T in O(logr + log) parallel time with no memory contention using r processors (where each processor consists of O(r 3 +) Boolean gates of fan-in two). The set T is distributed into m DMM memory modules where m is polynomial in r and , and the overall size of the shared memory used by our scheme is not larger than (1 + 1=())jTj) (this means that the data replication can be made arbitrarily small). Our solution is thus very eecient in the case of a large number of shared data. Furthermore, the memory organization scheme and most part of all the computations do not depend on the read requests, so they can be performed once and for all during an oo-line phase.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

IRWIN AND JOAN JACOBS CENTER FOR COMMUNICATION AND INFORMATION TECHNOLOGIES Switch Codes: Codes for Fully Parallel Reconstruction

Network switches and routers scale in rate by distributing the packet read/write operations across multiple memory banks. Rate scaling is achieved so long that sufficiently many packets can be written and read in parallel. However, due to the non-determinism of the read process, parallel pending read requests may contend on memory banks, and thus significantly lower the switching rate. In this ...

متن کامل

A Fast Contention-Friendly Binary Search Tree

This paper presents a fast concurrent binary search tree algorithm. To achieve high performance under contention, the algorithm divides update operations within an eager abstract access that returns rapidly for efficiency reason and a lazy structural adaptation that may be postponed to diminish contention. To achieve high performance under read-only workloads, it features a rebalancing mechanis...

متن کامل

On the Cost of Uniform Protocols Whose Memory Consumption Is Adaptive to Interval Contention

A distributed shared memory protocol is called memoryadaptive, if all writes to MWMR registers are ”close to the beginning of shared memory”, that is the indices of all MWMR registers processes write to when executing the protocol are functions of the contention. The notion of memory-adaptiveness captures what it means for a distributed protocol to most efficiently make use of its shared memory...

متن کامل

Can Memory Be Used Adaptively by Uniform Algorithms?

We introduce a novel term, memory-adaptive, that intuitively captures what it means for a distributed protocol to most efficiently make use of its shared memory. We also prove three results that relate to our memory-adaptive model. In our store/release protocols processors are required to store a value in shared MWMR memory so that it cannot be overwritten until it has been released by the proc...

متن کامل

Evaluating Row Buffer Locality in Future Non-Volatile Main Memories

DRAM-based main memories have read operations that destroy the read data, and as a result, must buffer large amounts of data on each array access to keep chip costs low. Unfortunately, system-level trends such as increased memory contention in multi-core architectures and data mapping schemes that improve memory parallelism may cause only a small amount of the buffered data to be accessed. This...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Electronic Colloquium on Computational Complexity (ECCC)

دوره 7  شماره 

صفحات  -

تاریخ انتشار 2000